#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>

int main()
{
	int fd, fd2, fd3;
	int i = 0;
	char buffer[10] = "abcd";
	printf("pid is %d\n", getpid());

	fd2 = open("/etc/inittab", O_RDONLY);
	fd3 = open("/etc/passwd", O_WRONLY);

	close(fd2);
	close(fd3);

	return 0;
}
